Feature: Create a new company
	As a user
	I want to add more company
	So that I can associate my complaint with that new company
	
Scenario: Go to create new company page
	Given I am on "Listing companies" page
	When I click on "New company" button
	Then I should be navigated to "New company" page
	And I should see a form with fields "Title" and "Description"

Scenario: Create a valid new company
	Given I am admin
	And I am on "New company" page
	And I have filled in the "Title" with "Twitter" 
	And I have filled in the "Description" with "Social network company"
	When I click on "Create" button
	Then I should be navigated to a new page
	And I should see "Title : Twitter"
	And I should see "Description: Social network company"

Scenario: Check the new company on "Listing companies" page
	Given I have created a new company with title Twitter
	When I go to "Listing companies" page
	Then I should see "Twitter" listed as one of the company

Scenario: Create an INVALID company
	Given I am admin
	And I am on "New company" page
	And I have filled in the "Title" with "" 
	And I have filled in the "Description" with ""
	When I click on "Create" button
	Then I should be navigated to the same page
	And I should see a warning "Title cannot be blank"